/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __64B93812_6FC2_4b64_9857_2F0F11DCA821__
#define __64B93812_6FC2_4b64_9857_2F0F11DCA821__


/////////////////////////////////////////////////////////////////////////////////////////
// 
namespace xos_box
{

    // 
    // i_callback interface
    // 
    class i_callback : public xos::i_release
    {
    protected:
        virtual ~i_callback(){}

    public:
        virtual int notify( i_msg *& p ) = 0;
        virtual int size() = 0;
    };
}

#endif // __64B93812_6FC2_4b64_9857_2F0F11DCA821__
